﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PluginInterface;

namespace DateReminder
{
    public class Plugin : IPlugin
    {
        public Plugin()
        {
        }

        private string myName = "EventViewer";
        private string myDescription = "A simple date event database.";
        private string myAuthor = "Gabriel Bischof";
        private string myVersion = "1.0.0";

        private IPluginHost myHost = null;
        private System.Windows.Forms.UserControl myMainInterface = new ucMain();

        public string Name
        {
            get { return myName; }
        }

        public string Author
        {
            get { return myAuthor; }
        }

        public string Description
        {
            get { return myDescription; }
        }

        public System.Windows.Forms.UserControl MainInterface
        {
            get { return myMainInterface; }
        }

        public string Version
        {
            get { return myVersion; }
        }

        public IPluginHost Host
        {
            get { return myHost; }
            set { myHost = value; }
        }

        public void Initialize()
        {
            //This is the first Function called by the host...
            //Put anything needed to start with here first
        }

        public void Dispose()
        {
            //Put any cleanup code in here for when the program is stopped
        }
    }
}
